package com.slwish.xty.entity;

import com.slwish.xty.base.BaseModel;

import java.util.List;

/**
 * 模块说明：
 *
 * @author 陈浩
 * @date 2017/11/30
 */
public class CreditLifeModel extends BaseModel {

//    private List<CerditLifeParent> data;
//
//
//    public List<CerditLifeParent> getData() {
//        return data;
//    }
//
//    public void setData(List<CerditLifeParent> data) {
//        this.data = data;
//    }
//
//    public static class CerditLifeParent {
        /**
         * list : [{"name":"桐庐小明民宿","url":"http://www.xiangjianke.com/article/880","imgUrl":"http://116.62.154.97:80/credit_travel/images/icon/01.png"},{"name":"桐庐小明农家乐","url":"http://www.xiangjianke.com/item/2784","imgUrl":"http://116.62.154.97:80/credit_travel/images/icon/02.png"},{"name":"桐庐小明酒店","url":"http://www.xiangjianke.com/item/2834","imgUrl":"http://116.62.154.97:80/credit_travel/images/icon/03.png"}]
         * desc : 先享后付
         */

        private String desc;
        private List<CreditLife> list;

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public List<CreditLife> getList() {
            return list;
        }

        public void setList(List<CreditLife> list) {
            this.list = list;
        }

        public static class CreditLife {
            /**
             * name : 桐庐小明民宿
             * url : http://www.xiangjianke.com/article/880
             * imgUrl : http://116.62.154.97:80/credit_travel/images/icon/01.png
             */

            private String name;
            private String url;
            private String imgUrl;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }
        }
//    }
}
